/**
 * Updated by liwd on 2016-08-04.
 * agcfs RequireJS 公共配置模块
 */
require.config({
	baseUrl: '/agcfs',
	// baseUrl: '/agcfs/src/main/webapp',
	paths: {
		/*App路径*/
		app: 'pages/agcfs',

		/*基本*/
		'jquery': 'trd/jquery/jquery.min',
		'domReady': 'trd/requirejs/domReady',
		'text': "trd/requirejs/text",
		'css': 'trd/requirejs/css',
		'bootstrap': 'trd/bootstrap/js/bootstrap.min',
		'bootstrap1': 'trd/bootstrap/js/bootstrap',

		Jcorp:"trd/Jcorp-0.9.12/js/jquery.Jcrop",
		knockout: "trd/knockout/knockout-3.2.0.debug",
		uui: "trd/uui/js/u",
		wizard:"trd/jquery-bootstrap-wizard/jquery.bootstrap.wizard",
		director:"trd/director/director",
		'jquery.file.upload' : "trd/juqery-file-upload/9.9.2/js/jquery.fileupload",
		'jquery.ui.widget':"trd/jquery-ui/jquery.ui.widget",
		'jquery.iframe.transport':"trd/jquery-iframe-transport/jquery.iframe-transport",
		polyFill: "trd/uui/js/u-polyfill.min",
		tree: "trd/uui/js/u-tree",
		grid: "trd/uui/js/u-grid",
		jqTreeTable:"trd/treeTable/jquery.treeTable",
		jqUi:"trd/jquery-ui-1.11.4/jquery-ui.min",
		dragJW:"trd/dragJumpWindow",

		/*Select下拉列表框*/
		'select': 'trd/bootstrap-select/js/bootstrap-select',
		'selecti18n': 'trd/bootstrap-select/js/i18n/defaults-zh_CN',

		/*DataTables数据表格*/
		'datatables.net': 'trd/DataTables/DataTables-1.10.12/js/jquery.dataTables.min',
		'datatables.net-bs': 'trd/DataTables/DataTables-1.10.12/js/dataTables.bootstrap.min',

		/*DataTables扩展和插件: 填充*/
		'datatables.net-autofill': 'trd/DataTables/AutoFill-2.1.2/js/dataTables.autoFill.min',
		'datatables.net-autofill-bs': 'trd/DataTables/AutoFill-2.1.2/js/autoFill.bootstrap.min',

		/*DataTables扩展和插件: 按钮*/
		'datatables.net-buttons': 'trd/DataTables/Buttons-1.2.1/js/dataTables.buttons.min',
		'datatables.net-buttons-bs': 'trd/DataTables/Buttons-1.2.1/js/buttons.bootstrap.min',
		'datatables.net-buttons-colVis': 'trd/DataTables/Buttons-1.2.1/js/buttons.colVis.min',
		'datatables.net-buttons-flash': 'trd/DataTables/Buttons-1.2.1/js/buttons.flash.min',
		'datatables.net-buttons-html5': 'trd/DataTables/Buttons-1.2.1/js/buttons.html5.min',
		'datatables.net-buttons-print': 'trd/DataTables/Buttons-1.2.1/js/buttons.print.min',

		/*DataTables扩展和插件: 行列拖动*/
		'datatables.net-colreorder': 'trd/DataTables/ColReorder-1.3.2/js/dataTables.colReorder.min',
		'datatables.net-rowreorder': 'trd/DataTables/RowReorder-1.1.2/js/dataTables.rowReorder.min',

		/*DataTables扩展和插件: 表内编辑*/
		'datatables.net-editor': 'trd/DataTables/Editor-1.5.4/js/dataTables.editor.min',
		'datatables.net-editor-bs': 'trd/DataTables/Editor-1.5.4/js/editor.bootstrap.min',

		/*DataTables扩展和插件: 固定行列*/
		'datatables.net-fixedColumns': 'trd/DataTables/FixedColumns-3.2.2/js/dataTables.fixedColumns.min',
		'datatables.net-fixedHeader': 'trd/DataTables/FixedHeader-3.1.2/js/dataTables.fixedHeader.min',

		/*DataTables扩展和插件: 热键*/
		'datatables.net-keyTable': 'trd/DataTables/KeyTable-2.1.2/js/dataTables.keyTable.min',

		/*DataTables扩展和插件: 响应式*/
		'datatables.net-responsive': 'trd/DataTables/Responsive-2.1.0/js/dataTables.responsive.min',

		/*DataTables扩展和插件: 滚动*/
		'datatables.net-scroller': 'trd/DataTables/Scroller-1.4.2/js/dataTables.scroller.min',

		/*DataTables扩展和插件: 选择器*/
		'datatables.net-select': 'trd/DataTables/Select-1.2.0/js/dataTables.select.min',

		/*DataTables扩展和插件: Excel和pdf支持库*/
		'net-jszip': 'trd/DataTables/JSZip-2.5.0/jszip',
		'net-pdfmake': 'trd/DataTables/pdfmake-0.1.18/build/pdfmake.min',
		'net-pdfmake-fonts': 'trd/DataTables/pdfmake-0.1.18/build/vfs_fonts',

		/*jsTree*/
		'jstree': 'trd/jstree/jstree.min',
	},
	shim: {
		/*基本*/
		'bootstrap': {
			deps: ['jquery', 'css!trd/bootstrap/css/bootstrap.min']
		},
		'bootstrap1': {
			deps: ["jquery"]
		},

		'uui':{
			deps: ["jquery","bootstrap","polyFill", "css!trd/uui/css/font-awesome.min.css"]
		},
		'jquery.file.upload':{
			deps: ["jquery","jquery.ui.widget","jquery.iframe.transport","css!trd/juqery-file-upload/9.9.2/css/jquery.fileupload.css"]
		},
		'tree': {
			deps: ["uui"]
		},
		'grid': {
			deps: ["uui"]
		},
		'jqUi': {
			deps: ["jquery","css!trd/jquery-ui-1.11.4/jquery-ui.min.css"]
		},

		/*Select下拉列表框*/
		'select': {
			deps: ['jquery', 'bootstrap1', 'css!trd/bootstrap-select/css/bootstrap-select'],
		},
		'selecti18n': {
			deps: ['select'],
		},

		/*DataTables数据表格*/
		'datatables.net-bs': {
			deps: ['css!trd/DataTables/DataTables-1.10.12/css/dataTables.bootstrap.min'],
		},

		/*DataTables扩展和插件: 填充*/
		'datatables.net-autofill-bs': {
			deps: ['css!trd/DataTables/AutoFill-2.1.2/css/autoFill.bootstrap.min'],
		},

		/*DataTables扩展和插件: 按钮*/
		'datatables.net-buttons-bs': {
			deps: ['datatables.net-buttons-colVis', 'datatables.net-buttons-flash', 'datatables.net-buttons-html5', 'datatables.net-buttons-print', 'css!trd/DataTables/Buttons-1.2.1/css/buttons.bootstrap.min'],
		},

		/*DataTables扩展和插件: 行列拖动*/
		'datatables.net-colreorder': {
			deps: ['css!trd/DataTables/ColReorder-1.3.2/css/colReorder.bootstrap.min'],
		},
		'datatables.net-rowreorder': {
			deps: ['css!trd/DataTables/RowReorder-1.1.2/css/rowReorder.bootstrap.min'],
		},

		/*DataTables扩展和插件: 表内编辑*/
		'datatables.net-editor-bs': {
			deps: ['css!trd/DataTables/Editor-1.5.4/css/editor.bootstrap.min'],
		},

		/*DataTables扩展和插件: 固定行列*/
		'datatables.net-fixedColumns': {
			deps: ['css!trd/DataTables/FixedColumns-3.2.2/css/fixedColumns.bootstrap.min'],
		},
		'datatables.net-fixedHeader': {
			deps: ['css!trd/DataTables/FixedHeader-3.1.2/css/fixedHeader.bootstrap.min'],
		},

		/*DataTables扩展和插件: 热键*/
		'datatables.net-keyTable': {
			deps: ['css!trd/DataTables/KeyTable-2.1.2/css/keyTable.bootstrap.min'],
		},

		/*DataTables扩展和插件: 响应式*/
		'datatables.net-responsive': {
			deps: ['css!trd/DataTables/Responsive-2.1.0/css/responsive.bootstrap.min'],
		},

		/*DataTables扩展和插件: 滚动*/
		'datatables.net-scroller': {
			deps: ['css!trd/DataTables/Scroller-1.4.2/css/scroller.bootstrap.min'],
		},

		/*DataTables扩展和插件: 选择器*/
		'datatables.net-select': {
			deps: ['css!trd/DataTables/Select-1.2.0/css/select.bootstrap.min'],
		},

		/*DataTables扩展和插件: Excel和pdf支持库*/
		'net-pdfmake': {
			deps: ['net-pdfmake-fonts'],
		},

		/*jsTree*/
		'jstree': {
			deps: ['jquery', 'css!trd/jstree/themes/default/style.min'],
		},
	}
});